<?php get_instance()->view('common/header');?>
<body>
<div class="saixuan saixuanfix threesai">
    <a href="<?php echo getUrl('user/collection?type=1')?>">商家</a>
<!--    <a href="--><?php //echo getUrl('user/collection?type=2')?><!--">商品</a>-->
    <a href=""></a>
    <a href="javascript:;" class="actived">便民服务</a>
    <div class="after"></div>
</div>
<div class="waper">
    <?php if (!empty($list)):?>
        <?php foreach ($list as $k => $v):?>
            <a href="<?php echo getUrl('find/details?find_id='.$v['id'])?>">
                <div class="bor_bb p3">
                    <div class="lrimginfobox qfl pt75 pb5">
                        <div class="left fl">
                            <div class="imgbox"><img src="<?php echo $v['portrait']?>" alt=""></div>
                            <p class="f075"><?php echo $v['nickname']?></p>
                        </div>
                        <div class="right fl">
                            <div class="tit  pr qfl">
                                <span class="di f09 textEll fl"><?php echo $v['title']?></span>
                                <span class="pc fl mtmin"><?php echo $v['category_name']?></span>
                                <span class="f06 cor9 fr">浏览<?php echo $v['read_number']?>次</span>
                            </div>
                            <p class="cor6 f075 twohhide lh125 mt5"><?php echo $v['content']?></p>
                            <p class="f06 cor9 fr mt10 mb5">
                                <img class="heightimg di mbmin mr5" src="<?php echo $this->staticUrl?>img/png/pic36.png" alt="">
                                <?php echo $v['address']?>  <?php echo $v['addtime']?></p>
                        </div>
                    </div>
                </div>
            </a>
        <?php endforeach;?>
    <?php else:?>
        <div class="statebox chuizhi jdjz" style="flex: 1;height: 100%;">
            <img class="stateimgda mb5" src="<?php echo $this->staticUrl?>img/default/1.png" alt="">
            <span class="f09 cor9 tc mb20">你还没有收藏哦～</span>
        </div>
    <?php endif;?>
</div>
<div class="mask"></div>
</body>
<script src="<?php echo $this->staticUrl?>js/base.js"></script>
</html>